home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / print / pr.zip / PR.MAN < prev    next >
Text File  |  1986-12-05  |  3KB  |  125 lines

  1.  
  2.  
  3.  
  4.  
  5.           MicroPro Standard Library                                       pr
  6.  
  7.  
  8.           NAME
  9.                pr - print file
  10.  
  11.           SYNOPSIS
  12.                pr [ option ] ... [ file ] ...
  13.  
  14.           DESCRIPTION
  15.                Pr produces a printed listing of one or  more  files.    The
  16.                output is separated into pages headed by a date, the name of
  17.                the  file  or a specified header,  and the page number.   If
  18.                there are no file arguments, pr prints its standard input.
  19.  
  20.                Options apply to all following files but may  be  reset  be-
  21.                tween files:
  22.  
  23.                /n   Produce n-column output.
  24.  
  25.                /pn  Begin printing with page n.
  26.  
  27.                /h   Take the next argument as a page header.
  28.  
  29.                /wn  Take  the  width of the page to be n characters instead
  30.                     of the default 80.
  31.  
  32.                /f   Use formfeeds instead of newlines to separate pages.  A
  33.                     formfeed is assumed to use up two blank  lines  at  the
  34.                     top  of a page.   (Thus this option does not affect the
  35.                     effective page length.)
  36.  
  37.                /ln  Take the length of the page to be n  lines  instead  of
  38.                     the default 66.
  39.  
  40.                /t   Do  not  print  the 5-line header or the 5-line trailer
  41.                     normally supplied for each page.
  42.  
  43.                /sc  Separate columns by the single character c  instead  of
  44.                     by the appropriate amount of white space.   A missing c
  45.                     is taken to be a tab.
  46.  
  47.                /m   Print all files simultaneously, each in one column.
  48.  
  49.                /Tn  Take the width of a tab character to be  n  instead  of
  50.                     the default 8.
  51.  
  52.                Note the following differences between UNIX pr(1) and PC-DOS
  53.                pr:
  54.  
  55.                .    The  switch character may be changed from `/' to `-' by
  56.                     the documented methods.
  57.  
  58.                .    The option structure  follows  the  conventions  estab-
  59.                     lished  by  AT&T for UNIX command options,  enforced by
  60.                     the use of the getopt() function.  Options that require
  61.  
  62.           December 5, 1986                                            Page 1                             MicroPro Business Confidential
  63.  
  64.  
  65.  
  66.  
  67.           MicroPro Standard Library                                       pr
  68.  
  69.                     arguments (such as /l) may have white space between the
  70.                     option and the argument or not.  Several options may be
  71.                     concatenated behind a single `/' with  no  white  space
  72.                     separating them.
  73.  
  74.                .    More  than  9  columns  are not supported,  or 15 files
  75.                     printed simultaneously.
  76.  
  77.                .    The UNIX "+n" option is replaced by "/pn".
  78.  
  79.           EXAMPLE
  80.  
  81.                     pr /t /m filea fileb filec
  82.  
  83.                will print out the three files simultaneously,  each in  one
  84.           column, without headers.
  85.  
  86.           AUTHOR
  87.  
  88.                Mojo Jones, mojo@micropro.UUCP
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.           December 5, 1986                                            Page 2                             MicroPro Business Confidential
  125.